package org.loofer.uiframework.common;

import android.database.AbstractCursor;
import android.os.Bundle;

public class BundleCursor extends AbstractCursor {
    private final Bundle mExtras;

    public BundleCursor() {
        this(null);
    }

    public BundleCursor(Bundle bundle) {
        this.mExtras = bundle != null ? new Bundle(bundle) : new Bundle();
    }

    public Bundle getExtras() {
        return this.mExtras;
    }

    public int getCount() {
        return 0;
    }

    public String[] getColumnNames() {
        return new String[0];
    }

    public String getString(int column) {
        return null;
    }

    public short getShort(int column) {
        return (short) 0;
    }

    public int getInt(int column) {
        return 0;
    }

    public long getLong(int column) {
        return 0;
    }

    public float getFloat(int column) {
        return 0.0f;
    }

    public double getDouble(int column) {
        return 0.0d;
    }

    public boolean isNull(int column) {
        return false;
    }
}
